﻿namespace MicroCloud.Identity.Dtos
{
    /// <summary>
    /// 输入DTO：用户邮箱变更
    /// </summary>
    [MapTo(typeof(User))]
    public class EmailEditDto : IInputDto<long>
    {
        /// <summary>
        /// 获取或设置 主键，唯一标识
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 获取或设置 电子邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 获取或设置 邮箱确认地址
        /// </summary>
        public string EmailConfirmUrl { get; set; }

        /// <summary>
        /// 获取或设置 验证码
        /// </summary>
        public string VerifyCode { get; set; }

        /// <summary>
        /// 获取或设置 验证码编号
        /// </summary>
        public string VerifyCodeId { get; set; }

    }
}